<!--
 * @Author: 乌日汗 3337511892@qq.com
 * @Date: 2025-09-11 09:02:21
 * @LastEditors: 乌日汗 3337511892@qq.com
 * @LastEditTime: 2025-09-15 15:34:41
 * @FilePath: \大三上 前端\city\src\pages\components\Title.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
    <div>
        <div class="header">
            <div class="icon"></div>
            <div class="text">{{ title }}</div>
        </div>
    </div>
</template>

<script>
export default {
    props: ['title']

}
</script>
<style Lang="less" scoped>
.header {
    display: flex;
    .icon {
        width: 24px;
        height: 30px;
        background-image: url(../../assets/layout/box_title_icon.png);
        background-size: 100% 100%;
        margin-right: 10px;
    }

    .text {
        font-size: 20px;
        font-family: "楷体";
        line-height: 30px;
    }
}
</style>